Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
Themyth
V2EX  ›  Linux

TCPdump 抓包并记录,但是如何后台运行?

  •  
  •   Themyth · Dec 22, 2014 · 14684 views
    This topic created in 4187 days ago, the information mentioned may be changed or developed.
    想用tcpdump抓包并记录日志,然后日后查看。
    但是尝试过nohup的方法 以及 直接在命令后面加&的方法
    但是关闭终端后,发现根本无法后台运行。
    who can tell me how to........

    shell: tcpdump tcp port 443 -w https.txt
    15 replies    2016-03-05 20:08:51 +08:00
    RIcter
        1
    RIcter  
       Dec 22, 2014 via iPad
    screen
    Themyth
        2
    Themyth  
    OP
       Dec 22, 2014
    @RIcter 啥意思?你是让我用x-window么?
    RIcter
        3
    RIcter  
       Dec 22, 2014 via iPad
    @Themyth 有一个screen命令_(:з」∠)_
    xyq123
        4
    xyq123  
       Dec 22, 2014
    (tcpdump tcp port 443 -w https.txt&)
    Themyth
        5
    Themyth  
    OP
       Dec 22, 2014
    @xyq123 我说了啊 不行啊 无法记录。。。
    abcbit
        6
    abcbit  
       Dec 22, 2014
    自己用python寫一個嘛
    mengzhuo
        7
    mengzhuo  
       Dec 22, 2014
    楼主你想抓https包分析?
    放心吧,没用的
    best1a
        8
    best1a  
       Dec 22, 2014
    nohup
    Daniel65536
        9
    Daniel65536  
       Dec 22, 2014 via iPhone
    screen
    Themyth
        10
    Themyth  
    OP
       Dec 22, 2014
    @RIcter 谢谢啦,已经成功了。
    @mengzhuo 举例举例。。。
    @best1a 不行的,用screen得方法实现了 nohup不记录
    mengzhuo
        11
    mengzhuo  
       Dec 22, 2014
    @Themyth

    HTTPS本来就是防监听的……你这么做是跟自己过不去么……
    efi
        12
    efi  
       Dec 23, 2014 via Android
    disown
    xujialiang
        13
    xujialiang  
       Dec 23, 2014
    nohup tcpdump tcp port 443 -w https.txt &
    larkifly
        14
    larkifly  
       Mar 5, 2016
    @Themyth 请问是怎么解决的,我也碰到这个问题了
    Themyth
        15
    Themyth  
    OP
       Mar 5, 2016
    @larkifly screen 命令啊,好久没玩了,之前就是用 screen 解决的,你搜索一下,很简单。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1091 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 42ms · UTC 18:21 · PVG 02:21 · LAX 11:21 · JFK 14:21
    ♥ Do have faith in what you're doing.